package com.practice.time;

import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;

public class CalendarPractice {

	public static void main(String[] args) {
		Calendar calendar = Calendar.getInstance();
		calendar.setTimeZone(TimeZone.getTimeZone("GMT+0"));
		
		TimeZone timeZone = calendar.getTimeZone();
		System.out.println(timeZone.getID());
		
		Date time = calendar.getTime();
		System.out.println(time);
	}

}
